package com.lanou.test;

public class Zi extends Fu{
	static {
		System.out.println("5");
	}

	{
		System.out.println("6");
	}

	//在一个类里面的某一个构造方法调用该类的另外一个构造方法
	public Zi() {
		this("");
		System.out.println("7");
	}

	public Zi(String name) {
		super(name);
		System.out.println("8");
	}
	
	
	public static void main(String[] args) {
		Zi zi = new Zi();
//		Zi zi2 = new Zi("zhansgan");
	}
}
